--- a/src/common/le_architecture.h
+++ b/src/common/le_architecture.h
@@ -26,6 +26,8 @@
 
 #if WINDOWS
 #include <sys/param.h>          /* #define BYTE_ORDER */
+#else
+#include <byteswap.h>
 #endif
 
 /* This is copied directly from GNUnet headers */
